package com.ruoyi.common.core.domain.entity.system;

import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 用户与自动航线关联对象 sys_user_shipline
 *
 * @author zjw
 * @date 2023-11-21
 */
public class SysUserShipline extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 自动航线ID
     */
    private Long shiplineId;

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setShiplineId(Long shiplineId) {
        this.shiplineId = shiplineId;
    }

    public Long getShiplineId() {
        return shiplineId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("userId", getUserId())
                .append("shiplineId", getShiplineId())
                .toString();
    }
}
